import ThemeSetting from "./management-system/components/setting/ThemeSetting.vue";
import {registerTools} from "./tools";
import {App} from "vue";

const components=[
    ThemeSetting
]

export const registerSettingComponent=(Vue:App)=>{
    components.forEach(component => {
        if (component.__name!==undefined){
            Vue.component(component.__name, component)
        }
        if (component.name!==undefined){
            Vue.component(component.name, component)
        }
    })
}